package com.sta.oldman.controller;

import com.sta.oldman.common.ResponseVO;
import com.sta.oldman.service.FallService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LunBoWang
 * @description: 处理跌倒的controller
 * @date: 2025/7/14 上午8:45
 * @version: 1.0
 */
@RestController
@RequestMapping("fall")
public class FallController {
    @Resource
    FallService pallService;

    @RequestMapping("/getMessage")
    public ResponseVO getFall() {
        return pallService.getMessage();
    }
}
